projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e87d02
)
d/rules: Show test log if build-time test fails
author
Simon McVittie
<smcv@debian.org>
Tue, 19 Jan 2021 10:43:33 +0000
(10:43 +0000)
committer
Simon McVittie
<smcv@debian.org>
Tue, 19 Jan 2021 10:43:33 +0000
(10:43 +0000)
dh_auto_test would automatically show meson-logs/testlog.txt, but
because we're running with --setup=x11, we get meson-logs/testlog-x11.txt
instead.
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index d82935bc0a7968cd08759e1c808aa52f0cdffc8c..ab869252d6aa247b139694db9df6034452c3d0ba 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-212,7
+212,11
@@
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
--builddirectory=debian/build/deb \
-- \
--setup=x11 \
- ${NULL}
+ || { \
+ e=$$?; \
+ tail -v -n +0 debian/build/deb/meson-logs/testlog-x11.txt; \
+ exit $$e; \
+ }
endif
override_dh_auto_install: